package com.sunrise.xdoc.service;

import java.io.Serializable;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

import com.sunrise.xdoc.helper.DaoHelper;

/**
 * Implement this to contain daoHelper, and ensure the method in the transaction
 * 
 * @author PhanHongPhuc
 * 
 */
@Transactional
public abstract class AbstractService implements Serializable {
	private static final long serialVersionUID = 1418133441214593401L;
	@Autowired
	private DaoHelper daoHelper;

	public DaoHelper getDaoHelper() {
		return daoHelper;
	}

	public void setDaoHelper(DaoHelper daoHelper) {
		this.daoHelper = daoHelper;
	}
	
	
}
